using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using Entity;

namespace MyWeb.Business
{
    public class ImageBUL
	{
        private static ImageDAL db = new ImageDAL();
        #region[Image_GetById]
        public static List<Entity.Image> Image_GetById(string Id)
		{
			return db.Image_GetById(Id);
		}
		#endregion
        #region[Image_GetByTop]
        public static List<Entity.Image> Image_GetByTop(string Top, string Where, string Order)
		{
			return db.Image_GetByTop(Top, Where, Order);
		}
		#endregion
        #region[Image_GetByAll]
        public static List<Entity.Image> Image_GetByAll(string Lang)
		{
			return db.Image_GetByAll(Lang);
		}
		#endregion
        #region[Image_Insert]
        public static bool Image_Insert(Image data)
		{
			return db.Image_Insert(data);
		}
		#endregion
        #region[Image_Update]
        public static bool Image_Update(Image data)
		{
			return db.Image_Update(data);
		}
		#endregion
        #region[Image_Delete]
        public static bool Image_Delete(string Id)
		{
			return db.Image_Delete(Id);
		}
		#endregion
	}
}